<!--跟课情况查询-->
<template>
    <div>
        <el-dialog title="调停课情况" :visible.sync="dialogVisible" :close-on-click-modal="false" width="90%">
            <div class="item-name">调停课类型：停课</div>
            <div class="table-container table-css">
                <el-table :data="tableData" border style="width: 100%" class="table-data" :header-cell-style="{background:'#edf2f9','border-color': '#c7d7eb'}">
                    <el-table-column prop="kcmcName" label="课程名称" align="center"></el-table-column>
                    <el-table-column prop="skdx" label="授课对象" align="center"></el-table-column>
                    <el-table-column label="调停课前" align="center">
                        <el-table-column prop="riqi" label="日期" align="center"></el-table-column>
                        <el-table-column prop="zhouci" label="周次" align="center"></el-table-column>
                        <el-table-column prop="xingqi" label="星期" align="center"></el-table-column>
                        <el-table-column prop="jieci" label="节次" align="center"></el-table-column>
                        <el-table-column prop="skddName" label="上课地点" align="center"></el-table-column>
                        <el-table-column prop="skjyName" label="授课教员" align="center"></el-table-column>
                    </el-table-column>
                    <el-table-column label="调停课后" align="center">
                        <el-table-column prop="tzhrq" label="日期" align="center"></el-table-column>
                        <el-table-column prop="tzhzc" label="周次" align="center"></el-table-column>
                        <el-table-column prop="tzhxq" label="星期" align="center"></el-table-column>
                        <el-table-column prop="tzhjc" label="节次" align="center"></el-table-column>
                        <el-table-column prop="tzhdd	" label="上课地点" align="center"></el-table-column>
                        <el-table-column prop="tzhjyName" label="授课教员" align="center"></el-table-column>
                    </el-table-column>
                    <el-table-column prop="tzkyy" label="调停课原因说明" align="center"></el-table-column>
                </el-table>
            </div>
        </el-dialog>
    </div>
</template>

<script>
import {dataTTDetail} from "@/api/lineData";
export default {
  data() {
    return {
      dialogVisible:false, 
      tableData: [],
    };
  },
  mounted(){
  },
  methods: {
    //初始化表格
    async initList(){
      let res = await dataTTDetail(this.dataForm);
      if(res.code == 200){
        this.tableData = res.data;
        this.total = res.total
      }
    },
  },
};
</script>
<style lang="less" scoped>
.table-css {
  margin-top: 30px;
 /deep/ .el-table td,
  .el-table th.is-leaf,
  .el-table--border,
  .el-table--group {
    border-color: #c7d7eb;
  }

  /deep/.el-table__header tr,
  .el-table__header th {
    padding: 0;
    height: 76px;
    background-color: #edf2f9;
    font-size: 16px;
    font-family: Microsoft YaHei;
    font-weight: bold;
    line-height: 20px;
    color: #004ca7;
  }

  /deep/.el-table__body tr,
  .el-table__body td {
    padding: 0;
    height: 86px;
  }
 /deep/ .el-table__footer-wrapper td {
    padding: 0;
    height: 86px;
  }
  /deep/.el-table thead.is-group th.el-table__cell{
    border-color: #c7d7eb;
  }
 /deep/ .el-table--border th, .el-table__fixed-right-patch{
    border-color: #c7d7eb;
  }
}
</style>

<style lang="less" scoped>
@import "../../../styles/commonCss.less";
</style>
